package br.com.werp.regras.geral.vos.suporte;


/*** DataBase Object from table Desenv.APLICATIVO
     Version: 2.6 -  Date: 23/09/2004 16:31:06 */
public class AplicativoVO implements java.io.Serializable {
  private int Aplc_id;
  private java.lang.String Aplc_nome;
  private java.lang.String Aplc_versao;

    /**
     * @param aplc_id
     * @param aplc_nome
     * @param aplc_versao
     */
    public AplicativoVO(int aplc_id, java.lang.String aplc_nome,
            java.lang.String aplc_versao) {
        super();
        Aplc_id = aplc_id;
        Aplc_nome = aplc_nome;
        Aplc_versao = aplc_versao;
    }
    public AplicativoVO(int aplc_id) {
        super();
        Aplc_id = aplc_id;
    }
    
  public AplicativoVO() {
  }

  public int getAplc_id() {
    return Aplc_id;
  }

  public void setAplc_id(int APLC_ID) {
    Aplc_id = APLC_ID;
  }

  public java.lang.String getAplc_nome() {
    return Aplc_nome;
  }

  public void setAplc_nome(java.lang.String APLC_NOME) {
    Aplc_nome = APLC_NOME;
  }

  public java.lang.String getAplc_versao() {
    return Aplc_versao;
  }

  public void setAplc_versao(java.lang.String APLC_VERSAO) {
    Aplc_versao = APLC_VERSAO;
  }

    /**
     * 
     * @return 
     * @author 
     */
    public String toString() {
        StringBuffer buffer = new StringBuffer();
        buffer.append("AplicativoVO[");
        buffer.append("Aplc_id = ").append(Aplc_id);
        buffer.append(" Aplc_nome = ").append(Aplc_nome);
        buffer.append(" Aplc_versao = ").append(Aplc_versao);
        buffer.append("]");
        return buffer.toString();
    }
    
    public boolean equals(Object obj) {
        AplicativoVO aplicativoVO= (AplicativoVO)obj;
        return this.Aplc_id == aplicativoVO.getAplc_id();
    }
    public int hashCode() {
        return  this.Aplc_id;
    }


}
